package com.xnyzc.lhy.mis.entity.result.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @qlyc_dev1git
 * @author: immor
 * @date: 2021/4/28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "DriverOrderCard对象",description = "司机订单卡片出参")
public class DriverOrderCard implements Serializable {
    @ApiModelProperty(value="订单类型")
    private Integer orderType;

    @ApiModelProperty(value="预约时间")
    private Date appointment;

    @ApiModelProperty(value = "预估时长")
    private BigDecimal durationTime;

    @ApiModelProperty(value="预估里程")
    private BigDecimal milageDistance;

    @ApiModelProperty(value = "起始地址")
    private String startAddress;

    @ApiModelProperty(value = "结束地址")
    private String endAddress;
}
